package com.xbongbong.saas.service;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.workorder.pojo.dto.WorkOrderEvaluateDTO;
import com.xbongbong.pro.workorder.pojo.dto.WorkOrderEvaluateSaveDTO;
import com.xbongbong.pro.workorder.pojo.vo.WorkOrderEvaluateSaveVO;
import com.xbongbong.pro.workorder.pojo.vo.WorkOrderEvaluateVO;

/**
 *
 * @author 刘阳
 * @date 2019/4/15 3:21 PM
 * @since v1.0
 * @version v1.0
 */
public interface WorkOrderEvaluationService {
    /**
     * Description: 查看评价
     * @param workOrderEvaluateDTO
     * @return workOrderEvaluateVO
     * @throws XbbException
     * @author 刘阳
     * @date 2019/4/15 11:00 AM
     * @since v1.0
     */
    WorkOrderEvaluateVO getEvaluation(WorkOrderEvaluateDTO workOrderEvaluateDTO) throws XbbException;

    /**
     * Description: 评价工单
     * @param workOrderEvaluateSaveDTO
     * @return WorkOrderEvaluateSaveVO
     * @throws XbbException
     * @author 刘阳
     * @date 2019/4/15 3:15 PM
     * @since v1.0
     */
    WorkOrderEvaluateSaveVO evaluateSave(WorkOrderEvaluateSaveDTO workOrderEvaluateSaveDTO) throws XbbException;
}
